const KEY = "BF-ADMIN-TOKEN";
export function setToken(v) {
  // ls只能存储字符串
  // token是字符串 直接存储即可
  window.localStorage.setItem(KEY, v);
}

export function getToken() {
  var vStr = window.localStorage.getItem(KEY);
  return vStr;
}
// 清除token
export function removeToken() {
  window.localStorage.removeItem(KEY);
}
